package com.imooc.uaa.exception;

import com.imooc.uaa.config.Constants;
import org.zalando.problem.AbstractThrowableProblem;
import org.zalando.problem.Status;

import java.net.URI;

public class UserAccountExpiredProblem extends AbstractThrowableProblem {

    private static final URI TYPE = URI.create(Constants.PROBLEM_BASE_URL + "/user_account_expired");

    public UserAccountExpiredProblem() {
        super(TYPE, "未授权访问", Status.UNAUTHORIZED, "用户账户有过期，请联系管理员");
    }
}
